<%if @project.late_milestones.size>0%>
<!--Late start-->
<div id=late_milestone>
<div class="milestone_label late"> <%="Late Milestone".t%> </div>
<%@project.late_milestones.each do |milestone|%>
<div class="milestone_item late_item">
<%="<strong>" + time_ago_in_words(milestone.due_at) + " ago".t + "</strong>(" + milestone.due_at.strftime('%m/%d %Y') + ")"%>
<span class='intro_txt'> - <%=milestone.user.name if milestone.user%></span>
<span class="private_label float_right"><%="Private".t if milestone.private%></span>
<h2>
 <span id='indi_<%=milestone.id%>' style="display:none"><%=image_tag"indicator.gif"%></span> 
<%=check_box "ss","",{:onclick=>remote_function(:loading=>"Element.show('indi_#{milestone.id}')",:url=>{:controller=>'milestones',:action=>'finish',:id=>milestone.id,:project_id=>@project.id})}%><%=milestone.name%>
  <%=link_to"Edit".t,edit_milestone_path(milestone.project,milestone),:class=>'admin'%> 
  <%=link_to image_tag("trash.gif",:border=>0),milestone_path(@project,milestone),:method=>'delete',:confirm=>"Are you sure?".t,:class=>'admin'%></h2>
</div>
<%end%>
</div>
<!--Late end-->
<%end%>
